home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
IDLIncludes
/
AppleGuide.idl
< prev
next >
Wrap
Text File
|
1996-05-01
|
3KB
|
151 lines
/*
File: AppleGuide.idl
Contains: Apple Guide Interfaces.
Version: Technology: System 7.5
Release: Universal Interfaces 3.0d3 on Copland DR1
Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
Bugs?: If you find a problem with this file, send the file and version
information (from above) and the problem description to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
*/
#ifndef __APPLEGUIDE_IDL__
#define __APPLEGUIDE_IDL__
#include <somobj.idl>
#include <somcls.idl>
#ifndef __APPLEEVENTS_IDL__
#include <AppleEvents.idl>
#endif
#ifndef __FILES_IDL__
#include <Files.idl>
#endif
#ifndef __TYPES_IDL__
#include <Types.idl>
#endif
#ifdef __SOMIDL__
#if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
/* Types*/
typedef UInt32 AGRefNum;
typedef UInt32 AGCoachRefNum;
typedef UInt32 AGContextRefNum;
typedef SOMLargeStruct AGAppInfo; /* Derived from a struct of 12 bytes in size */
typedef OpaquePtr AGAppInfoPtr; /* Substituted OpaquePtr for ``AGAppInfo*'' */
typedef OpaquePtr AGAppInfoHdl; /* Substituted OpaquePtr for ``AGAppInfoPtr*'' */
typedef OpaquePtr CoachReplyProcPtr;
typedef OpaquePtr CoachReplyUPP;
typedef OpaquePtr ContextReplyProcPtr;
typedef OpaquePtr ContextReplyUPP;
/* Constants*/
/* To test against AGGetAvailableDBTypes*/
typedef UInt16 AGStatus;
/* Returned by AGGetStatus*/
typedef UInt16 AGWindowKind;
/* Returned by AGGetFrontWindowKind*/
/*
Error Codes
Not an enum, because other OSErrs are valid.
*/
typedef SInt16 AGErr;
/* Apple Guide error codes*/
/*
Events
Not an enum because we want to make assignments.
*/
typedef UInt32 AGEvent;
/* Handy events for AGGeneral.*/
/*
Functions
AGClose
Close the database associated with the AGRefNum.
*/
/*
AGGeneral
Cause various events to happen.
*/
/*
AGGetAvailableDBTypes
Return the database types available for this application.
*/
/*
AGGetFrontWindowKind
Return the kind of the front window.
*/
/*
AGGetFSSpec
Return the FSSpec for the AGRefNum.
*/
/*
AGGetStatus
Return the status of Apple Guide.
*/
/*
AGInstallCoachHandler
Install a Coach object location query handler.
*/
/*
AGInstallContextHandler
Install a context check query handler.
*/
/*
AGIsDatabaseOpen
Return true if the database associated with the AGRefNum is open.
*/
/*
AGOpen
Open a guide database.
*/
/*
AGOpenWithSearch
Open a guide database and preset a search string.
*/
/*
AGOpenWithSequence
Open a guide database and display a presentation window sequence.
*/
/*
AGOpenWithView
Open a guide database and override the default view.
*/
/*
AGQuit
Make Apple Guide quit.
*/
/*
AGRemoveCoachHandler
Remove the Coach object location query handler.
*/
/*
AGRemoveContextHandler
Remove the context check query handler.
*/
/*
AGStart
Start up Apple Guide in the background.
*/
#endif
#endif /* __SOMIDL__ */
#endif /* __APPLEGUIDE_IDL__ */